package com.offcn.service.impl;

import com.offcn.entity.Enquiry;
import com.offcn.mapper.EnquiryMapper;
import com.offcn.service.EnquiryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class EnquiryServiceImpl implements EnquiryService {
    @Resource
    private  EnquiryMapper enquiryMapper;

    @Override
    public int insertEnquiry(String cj_time, int cid, String details) {
        return enquiryMapper.insertEnquiry(cj_time,cid,details);
    }

//    @Resource
//    private UserMapper userMapper;
//    @Override
//    public int insertUser( String uname,String ucomname, int utype, String ucity,String utel, String uaddress, String umail, String upwd, String uremark) {
//        return userMapper.insertUser( uname, ucomname,utype, ucity, utel, uaddress, umail, upwd, uremark);
//    }
//
//    @Override
//    public User selectByUser(String uname, String upwd) {
//        return userMapper.selectByUser(uname,upwd);
//    }
}
